#include<stdio.h>


int main()
{
int pid;
if(!(pid=fork()))
{
    printf("child: %d\n",pid);
    exit();
}

printf("parent: %d\n",pid);
}